﻿@model Common.Background.WebManageUsers
@{
    ViewBag.Title = "Details";
}
@Html.Partial("ContentListTag.Partial", new List<Common.Background.Models.LinkModel> { new Common.Background.Models.LinkModel("用户详细") })

<fieldset>
    <legend>用户信息</legend>
    <div class="display-label">
        用户编号
    </div>
    <div class="display-field">@Model.ManageUserID</div>
    <div class="display-label">
        登陆名称
    </div>
    <div class="display-field">@Model.LoginName</div>
    <div class="display-label">
        密码
    </div>
    <div class="display-field">@Model.Password</div>
    <div class="display-label">
        真实姓名
    </div>
    <div class="display-field">@Model.RealName</div>
    <div class="display-label">
        手机
    </div>
    <div class="display-field">@Model.Mobile</div>
    <div class="display-label">
        Email
    </div>
    <div class="display-field">@Model.Email</div>
    <div class="display-label">
        描述
    </div>
    <div class="display-field">@Model.Description</div>
    <div class="display-label">
        部门名称
    </div>
    <div class="display-field">@Model.WebDepartments.DepartmentName</div>
    <div class="display-label">
        建立日期
    </div>
    <div class="display-field">@String.Format("{0:g}", Model.CreateDate)</div>
    <div class="display-label">
        更新日期
    </div>
    <div class="display-field">@String.Format("{0:g}", Model.UpdateDate)</div>
    <div class="display-label">
        操作者
    </div>
    <div class="display-field">@Model.Operator</div>
    <div class="display-label">
        状态
    </div>
    <div class="display-field">
        @(((EntityFrameworks.Entity.Core.CommonEnums.Status)Model.Status).GetDescription())
    </div>
    <div class="display-label">
        所在系统
    </div>
    <div class="display-field">@Model.WebSystemID</div>
    <div class="display-label">
        所属角色
    </div>
    <div class="display-field">
        @foreach (var role in Model.WebManageRoles)
        { 
            <div>@role.RoleName</div>
        }
    </div>
</fieldset>